module.exports = {
  message: function (req, ws) {
    if (req.type === 'usage') {
      ws.send(JSON.stringify({type: req.type, usage: process.memoryUsage()}));
    }
  }
}
